
<%@ page import="apralms.SystemIndex" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'systemIndex.label', default: 'SystemIndex')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-systemIndex" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-systemIndex" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list systemIndex">
			
				<g:if test="${systemIndexInstance?.code}">
				<li class="fieldcontain">
					<span id="code-label" class="property-label"><g:message code="systemIndex.code.label" default="Code" /></span>
					
						<span class="property-value" aria-labelledby="code-label"><g:fieldValue bean="${systemIndexInstance}" field="code"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${systemIndexInstance?.name}">
				<li class="fieldcontain">
					<span id="name-label" class="property-label"><g:message code="systemIndex.name.label" default="Name" /></span>
					
						<span class="property-value" aria-labelledby="name-label"><g:fieldValue bean="${systemIndexInstance}" field="name"/></span>
					
				</li>
				</g:if>
				
				<g:if test="${systemIndexInstance?.scheme}">
				<li class="fieldcontain">
					<span id="scheme-label" class="property-label"><g:message code="systemIndex.scheme.label" default="Scheme" /></span>
					
						<span class="property-value" aria-labelledby="scheme-label"><g:link controller="scheme" action="show" id="${systemIndexInstance?.scheme?.id}">${systemIndexInstance?.scheme?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>				
			
				<g:if test="${systemIndexInstance?.system}">
				<li class="fieldcontain">
					<span id="system-label" class="property-label"><g:message code="systemIndex.system.label" default="System" /></span>
					
						<span class="property-value" aria-labelledby="system-label"><g:link controller="system" action="show" id="${systemIndexInstance?.system?.id}">${systemIndexInstance?.system?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${systemIndexInstance?.parameter}">
				<li class="fieldcontain">
					<span id="parameter-label" class="property-label"><g:message code="systemIndex.parameter.label" default="Parameter" /></span>
					
						<span class="property-value" aria-labelledby="parameter-label"><g:link controller="parameter" action="show" id="${systemIndexInstance?.parameter?.id}">${systemIndexInstance?.parameter?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
				
				<li class="fieldcontain">
					<span id="known-label" class="property-label"><g:message code="systemIndex.known.label" default="Known" /></span>
					
						<span class="property-value" aria-labelledby="known-label"><g:formatBoolean boolean="${systemIndexInstance?.known}" /></span>
					
				</li>		

				<li class="fieldcontain">
					<span id="targetValue-label" class="property-label"><g:message code="systemIndex.targetValue.label" default="Target Value" /></span>
					
						<span class="property-value" aria-labelledby="targetValue-label"><g:fieldValue bean="${systemIndexInstance}" field="targetValue"/></span>
					
				</li>

				<li class="fieldcontain">
					<span id="limitValue-label" class="property-label"><g:message code="systemIndex.limitValue.label" default="Limit Value" /></span>
					
						<span class="property-value" aria-labelledby="limitValue-label"><g:fieldValue bean="${systemIndexInstance}" field="limitValue"/></span>
					
				</li>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${systemIndexInstance?.id}" />
					<g:link class="edit" action="edit" id="${systemIndexInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
